//
//  YFMomentApi.h
//  SquashSpark
//
//  Created by Coollang on 2017/11/22.
//  Copyright © 2017年 Coollang-YF. All rights reserved.
//

#import "YFBaseRequest.h"

@interface YFMomentApi : YFBaseRequest

// 发帖
+ (instancetype)postTopicApiWithPosition:(NSString *)postion content:(NSString *)text imgList:(NSArray *)imgList;

/**
 *  获取帖子列表
 *  from  1为关注,0为广场全部
 */
+ (instancetype)getTopicListApiWithPage:(NSUInteger)page from:(NSString *)from;

/**
 *  评论回复
 *  parentID  如果是回复他人的评论,则需要加这个字段
 */
+ (instancetype)commentOrResponseApiWithText:(NSString *)text postId:(NSString *)postId parentID:(NSString *)parentID;

/**
 *  删除评论
 */
+ (instancetype)deleteCommentApiWithReponseId:(NSString *)responseId;

/**
 *  帖子模块，只需传帖子id
 *  点赞，取消点赞， 删除帖子，获取帖子详情
 */
+ (instancetype)mommentNormalApiWithApiType:(RequestApiType)apiType postId:(NSString *)postId;

// 举报
+ (instancetype)spotterTopicApiWithPostId:(NSString *)postId userId:(NSString *)userId type:(SpotterTopicType)spotterType;


// 消息相关的接口
+ (instancetype)messageApiWithApiType:(RequestApiType)apiType argument:(id)argument;

@end
